Embed Flow Examples

Off page login with Code Behind:

  1. User logs in through an external process.
  2. Credentials are sent to a compiled code module which connects via REST to Pyramid to get the authentication token.
  3. Once returned, the token is saved locally in the hosting app as a cookie.
  4. The embedded content is triggered and sends a request for content to Pyramid together with the authentication cookie.
  5. Pyramid authenticates the session and returns the relevant content to the 3rd party hosting app.

 

Off Page Login with External Service:

  1. User logs in through an external process, which forwards the details to a separate service.
  2. Credentials are retrieved and automatically sent via a hosted service to Pyramid to get the authentication token on behalf of the user (via REST)
  3. Once returned, the token is sent to the hosting page by the services and the page logic (JavaScript) saves it locally as a cookie.
  4. The embedded content is triggered and sends a request for content to Pyramid together with the authentication cookie.
  5. Pyramid authenticates the session and returns the relevant content to the 3rd party hosting app.

 

On Page Login (JavaScript Only):

  1. User goes to an HTML page and completes an HTML credential form.
  2. The credentials are sent through JavaScript and REST (AJAX) to Pyramid to get the authentication token
  3. Once returned, the token is saved locally in a cookie.
  4. The embedded content is triggered and sends a request for content to Pyramid together with the authentication cookie.
  5. Pyramid authenticates the session and returns the relevant content to the 3rd party hosting app.